﻿using CommunityToolkit.Mvvm.ComponentModel;
using ShanNiang.Service.PackingModes.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Mvvm.ViewModels
{
    public partial class PalletViewModel : ObservableObject
    {
        /// <summary>
        /// 箱数量
        /// </summary>
        [ObservableProperty]
        private int _boxesCount;
        /// <summary>
        /// 托码
        /// </summary>
        [ObservableProperty]
        private string? _code;
        /// <summary>
        /// 装托时间
        /// </summary>
        [ObservableProperty]
        private DateTimeOffset _createdTime;
        /// <summary>
        /// 企业名称
        /// </summary>
        [ObservableProperty]
        private string? _enterpriseName;
        /// <summary>
        /// 托里的商品
        /// </summary>
        [ObservableProperty]
        private ItemViewModel? _item;
        /// <summary>
        /// 装托时间
        /// </summary>
        [ObservableProperty]
        private DateTimeOffset? _lastModifiedTime;
        /// <summary>
        /// 装拖人
        /// </summary>
        [ObservableProperty]
        private string? _packingUser;
    }
}
